#include <stdio.h>
#include <stdbool.h>

int main(int argc, char const *argv[])
{
    int arr1[4][4] = {{101, 202, 303},
                      {505, 606, 707}};

    int arr2[4][4] = {1, 2, 3, 4, 5, 6, 7, 8};

    int arr3[][4] = {1, 2, 3, 4, 5, 6, 7, 8};

    int i = 0;
    int j = 0;
    while (i < 4)
    {
        while (j < 4)
        {
            arr2[i][j] = 200 + i + j;
            arr3[i][j] = 300 + i + j;
            j++;
        }
        i++;
    }

    int column = sizeof(arr1[0]) / sizeof(int);
    for (int i = 0; i < sizeof(arr1) / sizeof(arr1[0]); i++)
    {
        for (int k = 0; k < column; k++)
        {
            printf("%d ", arr1[i][k]);
        }
        for (int k = 0; k < column; k++)
        {
            printf("%d ", arr2[i][k]);
        }
        for (int k = 0; k < column; k++)
        {
            printf("%d ", arr3[i][k]);
        }
        putchar('\n');
    }

    return 0;
}
